/**
 * MissingRecord class inherits the Record class which contains the information about a missing individual.
 * 
 * @param addr is the last known address
 * @param lDate is the last Date at which the individual was last seen
 * @param lastLoc is the last location at which the individual was last seen
 * @status the status here is either missing or found
 * 
 */


package Data;

public class MissingRecord extends Record{
	
	// parameters for MissingRecord 
	String addr, lDate, lastLoc, desc; 
	String badgeID;

	
	public MissingRecord(String RecordID, String fName, String lName, String address, String lDate, String lastLoc, String status, String badgeID)
	{
		
		super(RecordID, fName, lName, status); // calling the constructor of the base class Record
		
		this.addr = address;
		this.lDate = lDate;
		this.lastLoc = lastLoc;
		this.badgeID = badgeID;
	
	}
	
	// get the record ID 
	public String getRecordID() {
		return super.getRecordID();
	}
	
	// get first name
	public String getFirstName() {
		return super.getFirstName();
	}
	
	// get last name
	public String getLastName() {
		return super.getLastName();
	}
	
	//get the status
	public String getStatus() {
		return super.getStatus();
	}
	
	public String getAddress() {
		return addr;
	}
		
	public String getLastDate(){
		return lDate;
	}
	
	public String getLastLocation() {
		return lastLoc;
	}
	
	public String getBadgeID() {
		return badgeID;		
	}
	
	public String toString()
	{
		return  " MISSING RECORD :: RECORD ID:: " + recordID + 
				" FIRSTNAME:: " + fName + 
				" LASTNAME :: " + lName + 
				" LAST KNOWN ADDRESS :: " + addr + 
				" DATE LAST SEEN ON :: " + lDate + 
				" SEEN LAST AT LOCATION : " + lastLoc + 
				" STATUS :: " + status +
				" OFFICER BADGE ID:: "+ badgeID;
		
	}
}
